projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e59de9
)
Fix URL cookie expiration bug
author
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 9 Nov 2017 05:30:26 +0000
(21:30 -0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Thu, 9 Nov 2017 05:31:10 +0000
(21:31 -0800)
Problem reported by Damien Cassou (Bug#29223).
* lisp/url/url-cookie.el (url-cookie-expired-p):
Fix typo in previous change, which caused unexpired cookies
to be treated as expired and vice versa.
lisp/url/url-cookie.el
patch
|
blob
|
history
diff --git
a/lisp/url/url-cookie.el
b/lisp/url/url-cookie.el
index 28dfcedeaca0dffc85c39c978b82f0507f188e8b..d922033d82047516a70253ec75c56397d26bf34e 100644
(file)
--- a/
lisp/url/url-cookie.el
+++ b/
lisp/url/url-cookie.el
@@
-161,7
+161,7
@@
telling Microsoft that."
(let ((exp (url-cookie-expires cookie)))
(and (> (length exp) 0)
(condition-case ()
- (time-less-p
nil (date-to-time exp)
)
+ (time-less-p
(date-to-time exp) nil
)
(error nil)))))
(defun url-cookie-retrieve (host &optional localpart secure)